cmake_minimum_required(VERSION 3.15)

include(proj.conf)

find_package(bouffalo_sdk REQUIRED HINTS $ENV{BL_SDK_BASE})

if((NOT ("${CHIP}" STREQUAL "bl702")))
sdk_add_compile_definitions(-DCONFIG_USB_ALIGN_SIZE=32)
else()
endif()

sdk_add_include_directories(.)
add_subdirectory(apps)
sdk_set_main_file(main.c)

project(tiny_game)
